package ProcessList;
import GameFiles.StateBase;
import Main.Defines;
import ProcessManager.Process;
import Main.Defines;

public class ChangePlayerState extends Process {
	private StateBase PlayerState;

	public ChangePlayerState(StateBase a_PlayerState) {
		super("ChangePlayerState");
		PlayerState = a_PlayerState;
	}

	public void destroy() {
	}
	public void UpdateProcess(int milliseconds) {
		Defines.PLM.ChangeCurrentPlayerState(PlayerState);
		SetKill(true);
	}

}
